<?php defined('IN_YuLin') || exit('NO PERMIT!'); ?>
{template header}
	<div id="app">
	    <div id="shadow" style="display: none;"></div> 
	    <header class="top"> 
    	    <ul class="manageList">
    	    	<li class="on">
    	    		<a>下级开户</a>
    	    	</li>
    	    	<li class="">
    	    		<a>邀请码</a>
    	    	</li>
    	    </ul> 
	    	<div class="iconfont back" style="display: none;"></div> 
	    	<a href="{U('agent/index')}" class="iconfont back"></a> 
	    </header> 
	    <div class="main creatAccount1" s="[object Object]" style="padding-bottom: 0;">
	    	<div class="creatAccountTitle radio">
	    		开户类型
    			<input type="radio" value="1" id="radio1" name="user_type" class="user-input tag_user_type" checked="checked">
    			<label for="radio1" class="user-label">代理类型</label>
    			<input type="radio" value="2" id="radio2" name="user_type" class="user-input tag_user_type">
    			<label for="radio2" class="user-label">玩家类型</label>
		        <p>请先为下级设置返点,<a href="#" class="" style="color:#dc3b40">点击查看返点赔率表</a>
		        </p>
	        </div> 
	        <div class="tabLI">
	        	<ul class="creatAccountDetail Backli">
	        		{loop $cateList as $k => $v}
	        			<li>
    	        			<span>{$v['name']}</span>
    	        			<input type="number" name="lott[{$k}]" tag="{$v['name']}返点" ami="{$k}" placeholder="自身返点{$rpsInfo[$k]['re_point']},可设置返点0.0-{$rpsInfo[$k]['re_point']}" min="0.0" max="{$rpsInfo[$k]['re_point']}" class="va35 tag_set_lott_rps">
    	        		</li>
	        		{/loop}
	    		</ul> 
	    		<div class="loginBtn BTN" id="id_submit_postal">
             		<a>生成邀请码</a>
            	</div>
	        </div>
	    </div> 
	    <div class="main creatAccount2" s="[object Object]" style="padding-bottom: 0;display: none;">
	    	<div class="creatAccountTitle radio bg">
				开户类型 
                <a href="javascript:void(0);" class="tag_invcode_type on">
                	<input type="radio" value="1" id="radio1" name="invcode_type" class="user-input tag_usercode_type" checked="checked"/> 
                	<label for="radio1" class="user-label">代理类型</label>
                </a> 
                <a href="javascript:void(0);" class="tag_invcode_type">
                	<input type="radio" value="2" id="radio2" name="invcode_type" class="user-input tag_usercode_type" /> 
                	<label for="radio2" class="user-label">玩家类型</label>
                </a>
			</div> 
			<div class="_div bg">
                <div id="TouchScroll" class="tabLI" style="padding-bottom: 0;">
                 	<div data-key="false" class="InviteTableBox">
                  		<table class="col3Table manageInviteTable"></table>
                 	</div>
                </div> 
                <div class="_problemBox" style="display: none;" id="id_do_opera">
                 	<div class="blackBg"></div> 
             		<div class="moreLayer">
                  		<ul>
                           	<li><a id="id_show_code">查看返点</a> <span style="display: none;"></span></li>
                           	<li><a id="id_del_code">删除邀请码</a> <span style="display: none;"></span></li>
                  		</ul> 
                  		<ul>
                   			<li><a id="id_cancel">取消</a></li>
                  		</ul>
                 	</div>
                </div> 
                <div class="_problemBox" style="display: none;" id="id_show_code_content">
                 	<div class="showCodeDetail">
                  		<div class="blackBg"></div> 
                  		<div class="creatAccountDetail">
                   			<h3 class="line"><em>返点详情</em><a><i class="iconfont" id="id_close_content"></i></a></h3> 
                   			<ul class="infoshow" id="id_show_item"></ul>
                  		</div>
                 	</div>
                </div>
           	</div>
	    </div> 
    </div>
    <input type="hidden" id="ajaxFunc" value="{U('json/func_member')}"/>
    <script src="static/js/member/member_common_func.js"></script>
    <script type="text/javascript" src="static/wap/js/member/member_agent_invite.js"></script>
    {template footer}
</html>
